Test your Swift knowledge with these interactive quizzes
Test your understanding of Swift syntax, variables, constants, basic data types, and type inference.
Evaluate your knowledge of if/else, switch statements, for-in loops, while loops, and guard statements in Swift.
Assess your knowledge of defining and calling functions, parameters, return values, and argument labels in Swift.
Test your understanding of optional types, nil, optional binding (if let, guard let), and optional chaining.
Challenge yourself with questions on Swift's core collection types: Arrays, Dictionaries, and Sets.
Evaluate your understanding of classes, objects, properties, methods, inheritance, and initializers in Swift.
Test your knowledge of closures, capturing values, escaping/non-escaping closures, and functional methods like map, filter, reduce.
Assess your knowledge of value types (structs vs classes), enumerations, associated values, and raw values.
Explore your understanding of defining protocols, protocol conformance, protocol inheritance, and extending types in Swift.
Test your knowledge of ARC, strong/weak/unowned references, error handling (do-try-catch), and generics.